Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: ceph-volume: does not recognize wal/db partitions created by ceph-disk #29463

Merged
merged 3 commits into from Aug 5, 2019

Conversation

jan--f
Copy link
Contributor

@jan--f jan--f commented Aug 2, 2019

Jan Fajerski added 3 commits August 2, 2019 11:40
This adds a parameterized fixture as input to the tests. Should make
writing new tests easier since only fixture parameters need to be added.
In the future we should be able to reuse the fixtures to build other
fixtures and reuse the parametrization.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit f42287c)
It seems like ceph-disk sometimes creates OSDs where the wal and db
partitions have no PARTLABEL set. This commit alters tests so that the
empty string is considered a valid label.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit bb29110)
In some cases ceph-disk does not populate PARTLABEL for wal and db
partitions. This commit adds the assumption that the empty string is a
valid label and falls back to identifying those disks by PARTTYPE.

Fixes: https://tracker.ceph.com/issues/40917

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 82d2ae7)
@jan--f jan--f self-assigned this Aug 2, 2019
@jan--f jan--f added this to the mimic milestone Aug 2, 2019
@jan--f jan--f requested a review from alfredodeza August 2, 2019 09:42
@alfredodeza alfredodeza merged commit 04d224e into ceph:mimic Aug 5, 2019
@smithfarm smithfarm changed the title mimic: ceph-volume does not recognize wal/db partitions created by ceph-disk mimic: ceph-volume: does not recognize wal/db partitions created by ceph-disk Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants